import Request, { tryCatch } from '~/utils/request';

const getLocal = async function (params) {
  const [response, err] = await tryCatch(Request.post('/api/test', params));
  if (err) {
    throw err;
  }
  return response;
}

export {
  getLocal
}